//
//  BaseQWViewController.h
//  WJCommon-master
//
//  Created by Yunhai.Wu on 16/1/15.
//  Copyright © 2016年 WJ. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "QWNavBarTranslucent.h"
#import "IQWRouterViewController.h"

@interface BaseQWViewController : UIViewController<IQWRouterViewController>

/**
 *  委托
 */
@property (nonatomic, weak) id<IQWRouterViewControllerDelegate> routDelegate;
/**
 *  参数
 */
@property (nonatomic, copy) NSDictionary *routParams;


@property (nonatomic, weak, readonly) UINavigationItem *qwNavigationItem;

/**
 *  替代 self.navigationController.navigationBar
 */
@property (nonatomic, weak) IBOutlet UINavigationBar *qwNavigationBar;

/**
 *  替代 self.view
 */
@property (nonatomic, weak) IBOutlet UIView *qwView;

/**
 *  标题名称
 */
@property (nonatomic, copy) NSString *qwNavTitle;

/**
 *  状态栏状态
 *  default QWNavBarStatusNonTranslucent
 */
@property (nonatomic, assign) QWNavBarStatus qwNavBarStatus;

/**
 *  是否存在导航栏（子类重写）
 */
-(BOOL) qw_existNavigationBar;

/**
 *  导航栏状态属性
 */
-(NSDictionary*) qw_navBarStatusAttributesDict;

@end
